package xx.boot.auth.controller;

import cn.dev33.satoken.annotation.SaCheckPermission;
import cn.dev33.satoken.stp.StpUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PermissController {


    @SaCheckPermission("user-add")
    @RequestMapping("testPermiss")
    public String testPermiss() {
        return "testPermiss";
    }

}
